package com.atguigu.gmall.pay.service;

import com.alipay.api.AlipayApiException;
import com.atguigu.gmall.pay.vo.PayParamsVo;
import com.fasterxml.jackson.core.JsonProcessingException;

/**
 * @author lsj
 * @create 2021-08-30 17:36
 */
public interface PayService {

    String payOrder(PayParamsVo vo) throws  Exception;

    Boolean queryOrderStatus(String outTradeNo) throws AlipayApiException, JsonProcessingException;

    void sendPaySuccessMessage(String out_trade_no) throws JsonProcessingException;

}